package com.xiaoluo.lottery.request;

/**
 * Created by Caedmon on 2016/4/6.
 */
public class JoinRoundRequest {
    private String openId;
    private long roundId;
    private String ip;
    private boolean useBalance;
    private int num=1;
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public long getRoundId() {
        return roundId;
    }

    public void setRoundId(long roundId) {
        this.roundId = roundId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public boolean isUseBalance() {
        return useBalance;
    }

    public void setUseBalance(boolean useBalance) {
        this.useBalance = useBalance;
    }

    public int getNum() {
        if(num<=0){
            num=1;
        }
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
